<?php
$this->breadcrumbs=array(
	'Bt Battery'=>array('admin'),
	$model->RECORD_ID,
);
?>

<div id="page-header">
	<h1><?php echo "查看"."电池"; ?></h1>
</div>

<div id="page-options">
<?php $this->renderPartial('_menu',array(
'model'=>$model,
)); ?>
</div>

<section class="grid_9" id="dashtabs">
<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
//		'RECORD_ID',
		array(
			'name' => 'BASE_N',
			'type' => 'raw',
			'value' => $model->base->BASE_NAME,
		),	
		array(
			'name' => 'GROUP_V',
			'type' => 'raw',
			'value' => $model->batterys->GROUPNAME_V,
		),			
		array(
			'name' => 'BATTERYTYPE_V',
			'type' => 'raw',
			'value' => $model->dictbattery->BATTERYTYPE_V,
		),		
		'SERIAL_N',
		'SETUP_D',
		'CURDATE_D',
		//'CREATE_USERID',
		//'STATUS_N',
			array(
					'name' => 'STATUS_N',
					'type' => 'raw',
					'value' => $model->STATUS_N == 1 ? "黄色" : ($model->STATUS_N == 0 ? "绿色" : "红色"),
			),
		'CURVAL_N',
		'CURINNER_N',
		'CUR_ELECTRIC_N',
		'CUR_HL_INNER_N',
		'FORCASTVOLUME_N',
		'TESTVOLUME_N',
		'POWERSUPPLY_N',
		'BACKLOAD_N',
		'REMARK_V',
	),
    'cssFile'=> Yii::app()->request->baseUrl.'/css/widgets/cdetailview.css',
)); ?>
</section>